package Domain;


/**
 * This class contains all the information about an actor in the system
 */
public class Actor {

    Long id;
    String firstname;
    String lastname;

    public Actor(long id, String firstname, String lastname) {
        this.id = id;
        this.firstname = firstname;
        this.lastname = lastname;
    }

    public long getId() {
        return id;
    }

    public String getFirstname() {
        return firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public String getName() {
        return getFirstname()+" "+getLastname();
    }
}
